/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package database_objects;

import java.util.ArrayList;

/**
 *
 * @author pawel
 */
public class Book {
    
    //department
    private String idOfDepartment = null;
    private String nameOfDepartment = null;
    private String bookCaseNumber = null;
    
    //edition
    private String isbn = null;
    private String nameOfEdition = null;
    private String dateOfEdition = null;
    private String title = null;
   
    //author
    private ArrayList<Author> nameOfauthor = null;
    
    //book
    private String positionOnBookCase = null;
    private String idOfBook = null;

    public Book() {
    }
    
    public Book(String idOfDepartment, String nameOfDepartment, 
            String bookCaseNumber, String isbn, String nameOfEdition,
            String dateOfEdition, String title, ArrayList<Author> nameOfauthor,
            String positionOnBookCase, String idOfBook) {
        this.idOfDepartment = idOfDepartment;
        this.nameOfDepartment = nameOfDepartment;
        this.bookCaseNumber = bookCaseNumber;
        this.isbn = isbn;
        this.nameOfEdition = nameOfEdition;
        this.dateOfEdition = dateOfEdition;
        this.title = title;
        this.nameOfauthor = nameOfauthor;
        this.positionOnBookCase = positionOnBookCase;
        this.idOfBook = idOfBook;
    }

    public void setBookCaseNumber(String bookCaseNumber) {
        this.bookCaseNumber = bookCaseNumber;
    }

    public void setDateOfEdition(String dateOfEdition) {
        this.dateOfEdition = dateOfEdition;
    }

    public void setIdOfBook(String idOfBook) {
        this.idOfBook = idOfBook;
    }

    public void setIdOfDepartment(String idOfDepartment) {
        this.idOfDepartment = idOfDepartment;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public void setNameOfDepartment(String nameOfDepartment) {
        this.nameOfDepartment = nameOfDepartment;
    }

    public void setNameOfEdition(String nameOfEdition) {
        this.nameOfEdition = nameOfEdition;
    }

    public void setNameOfauthor(ArrayList<Author> nameOfauthor) {
        this.nameOfauthor = nameOfauthor;
    }

    public void setPositionOnBookCase(String positionOnBookCase) {
        this.positionOnBookCase = positionOnBookCase;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    
}
